.nav{
	width: 100%;
	height: 70px;
	position: relative;
	top: 0;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
	border-radius: 10px;
	background-color: rgb(0, 0, 0);
}
.nav ul{
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	right: 5%;
}
.nav ul .nav-box{
	position: absolute;
	bottom: 0;
	left: 0;
	width: calc((100% / 4)*1);
	height: 10px;
	border-radius: 2px;
	transition: .5s;
}
.nav ul li{
	width: 100%;
	text-align: center;
}
.nav ul li a{
	color: rgb(255, 255, 255);
	font: 100 30px '优设标题黑';
	display: block;
	width: 100%;
	height: 100%;
	line-height: 70px;
}.nav ul li:nth-child(1):hover~.nav-box{
	left: calc(100% / 4 *0);
	background-color: rgb(77, 59, 218);
}
.nav ul li:nth-child(2):hover~.nav-box{
	left: calc(100% / 4 *1);
	background-color: red;
}
.nav ul li:nth-child(3):hover~.nav-box{
	left: calc(100% / 4 *2);
	background-color: #ee8930;
}
.nav ul li:nth-child(4):hover~.nav-box{
	left: calc(100% / 4 *3);
	background-color: #17cfe8;
}
.home-text{
	margin-left: 300px;
	margin-right: 300px;
}
.home-text h1{
	text-align: center;
	color: white;
}
.home-text p{
	font-size: 25px;
	line-height: 35px;
	text-indent: 2em;
	color: white;
	
}
a{
	text-decoration: none;
	color: rgb(255, 0, 0);
}
a:visited{
	color: rgb(255, 0, 0);
}
.grid-container{
	display: grid;
	justify-content: center;
	align-content: center;
	grid-template-columns: repeat(2,600px);
	grid-template-rows: repeat(3,400px);
	grid-gap: 20px;
	/* border:1px dashed */
}
.grid-item{
	/* border: 1px solid; */
	color: #fff;
	/* background-color: gray; */
}
.grid-item:nth-child(1){
	grid-row: 1/2;
	grid-column: 1/2;
}
.grid-item:nth-child(2){
	grid-row: 1/2;
	grid-column: 2/3;
}
.grid-item:nth-child(3){
	grid-row: 2/3;
	grid-column: 1/2;
}
.grid-item:nth-child(4){
	grid-row: 2/3;
	grid-column: 2/3;
}
.grid-item:nth-child(5){
	grid-row: 3/4;
	grid-column: 1/3;
}
.grid-container grid-item img:hover{
	transform: scale(1.5);
	box-shadow: 0 0 10px #000;
}